package com.example.role.service;

import com.example.role.pojo.Office;
import com.example.role.util.ServerResponse;
import com.example.role.util.TableServerResponse;

public interface IOffice {

//    TableServerResponse queryOffice(Integer page, Integer limit);
//
//    ServerResponse addOffice(Office office);
//
//    ServerResponse updaOffice(Office office);

    public int addOffice(Office order);

    public Office getOfficeById(String id);

    public int deleteOffice(String id);

    public int updateOffice(Office order);
}
